package com.zhonggong.network.emp.service;

import java.io.FileNotFoundException;
import java.util.List;

import com.zhonggong.network.base.service.BaseManager;
import com.zhonggong.network.emp.model.Emp;


public interface EmpManager extends BaseManager<Long, Emp>{
	
	void load(String data_file) throws FileNotFoundException;
	
	void create(Emp emp);
	
	int remove(Emp emp);
	
	void update(Emp emp);

	Emp findById(Long id);
	
	List<Emp> findByName(String name);
}
